<template>
    <div>
        御剑乘风来,除魔天地间!===sister===={{fb}}
        <button @click="sister">妹妹</button>
    </div>
</template>
           
<script>
import {Bus} from  '@/api/Bus'
export default {
  data() {
    return {
        ss:'哥哥我要给你介绍一个女朋友',
        fb:''
    }
  },
  methods: {
    sister() {
        //this.$Bus.$emit('tob',this.ss)
       Bus.$emit('tob',this.ss)
    }
  },
  mounted(){
      //this.$Bus.$on('tos',(res)=>{
      Bus.$on('tos',(res)=>{
          this.fb=res
      })
  }
}
</script>
<style scoped>
</style>